package com.jwsoft.manager.common.vo.eduWorkOrder;

import com.baomidou.mybatisplus.annotation.TableField;
import com.bifang.assistant.common.vo.BasePageVO;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 工单表QueryVO
 *
 * @author zhiyuan
 * @since 2023-02-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "EduWorkOrderQueryVO", title = "工单表查询VO", description = "工单表查询实体类")
public class EduWorkOrderQueryVO extends BasePageVO {

    @Schema(name = "workOrderId", title = "主键")
    private Long workOrderId;

    @Schema(name = "workOrderType", title = "工单类型")
    private String workOrderType;

    @Schema(name = "workQuestion", title = "工单问题描述")
    private String workQuestion;

    @Schema(name = "fileInfo", title = "材料文件")
    private String fileInfo;

    @Schema(name = "workId", title = "所属数据id")
    private String workId;

    @Schema(name = "submitterId", title = "提交人user_id")
    private String submitterId;

    @Schema(name = "submitterName", title = "提交人姓名")
    private String submitterName;

    @Schema(name = "submitterCellphone", title = "提交人联系方式")
    private String submitterCellphone;

    @Schema(name = "submitterOrgId", title = "提交人所属组织")
    private String submitterOrgId;

    @Schema(name = "fullName", title = "学生姓名")
    private String fullName;

    @Schema(name = "idcard", title = "学生证件号码")
    private String idcard;

    @Schema(name = "workHandleStatus", title = "处理状态：0待处理 1处理中 2已处理")
    private String workHandleStatus;

    @Schema(name = "workStatus", title = "工单状态：0 基教科待审核 1科长待审核 2技术人员待处理 3处理中 4 处理完成")
    private String workStatus;


    @Schema(name = "workStatusList", title = "工单状态：0 基教科待审核 1科长待审核 2技术人员待处理 3处理中 4 处理完成")
    private List<String> workStatusList;

    @Schema(name = "handleUserId", title = "处理人user_id")
    private String handleUserId;

    @Schema(name = "handleOrgId", title = "处理组织org_id")
    private String handleOrgId;

    @Schema(name = "handleTime", title = "处理时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date handleTime;

    @Schema(name = "handleMessage", title = "处理描述")
    private String handleMessage;

    @Schema(name = "handleStatus", title = "处理意见1完成，2不予处理")
    private String handleStatus;

    @Schema(name = "permission", title = "控制查询权限  0：普通权限  1管理员权限")
    private String permission;

    @Schema(name = "finishFlag", title = "是否最终处理节点")
    private String finishFlag;

    @Schema(name = "fileMaterial", title = "文件材料")
    private String fileMaterial;

    @Schema(name = "handleMaterial", title = "处理信息上传附件")
    private String handleMaterial;

    @Schema(name = "areaCode", title = "行政区划")
    private String areaCode;

    @Schema(name = "workNum", title = "工单序号")
    private Integer workNum;

        @Schema(name = "workTitle", title = "标题")
    private String workTitle;

        @Schema(name = "returnVisits", title = "是否回访,1是0否")
    private String returnVisits;

    @Schema(name = "returnTelephone", title = "回访电话")
    private String returnTelephone;

    @Schema(name = "submittedTo", title = "提交给谁（1基教科审核 2科长复审 3技术人员处理)")
    private String submittedTo;

    @Schema(name = "onsiteSubmission", title = "是否现场，1是0否")
    private String onsiteSubmission;

    @Schema(name = "workDate", title = "工单提交日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date workDate;
}
